home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.1 / lispmtopgm.1 < prev    next >
Text File  |  1995-07-25  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4.      lllliiiissssppppmmmmttttooooppppggggmmmm((((1111))))    XXXXEEEENNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((00006666 MMMMaaaarrrrcccchhhh 1111999999990000))))     lllliiiissssppppmmmmttttooooppppggggmmmm((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           lispmtopgm - convert a Lisp Machine bitmap file into pgm
  10.           format
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           lllliiiissssppppmmmmttttooooppppggggmmmm [_l_i_s_p_m_f_i_l_e]
  14.  
  15.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.           Reads a Lisp Machine bitmap as input.  Produces a portable
  17.           graymap as output.
  18.  
  19.           This is the file format written by the tv:write-bit-array-
  20.           file function on TI Explorer and Symbolics lisp machines.
  21.  
  22.           Multi-plane bitmaps on lisp machines are color; but the
  23.           lispm image file format does not include a color map, so we
  24.           must treat it as a graymap instead.  This is unfortunate.
  25.  
  26.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  27.           pgmtolispm(1), pgm(5)
  28.  
  29.      BBBBUUUUGGGGSSSS
  30.           The Lispm bitmap file format is a bit quirky;  Usually the
  31.           image in the file has its width rounded up to the next
  32.           higher multiple of 32, but not always.  If the width is not
  33.           a multiple of 32, we don't deal with it properly, but
  34.           because of the Lispm microcode, such arrays are probably not
  35.           image data anyway.
  36.  
  37.           Also, the lispm code for saving bitmaps has a bug, in that
  38.           if you are writing a bitmap which is not mod32 across, the
  39.           file may be up to 7 bits too short!  They round down instead
  40.           of up, and we don't handle this bug gracefully.
  41.  
  42.           No color.
  43.  
  44.      AAAAUUUUTTTTHHHHOOOORRRR
  45.           Copyright (C) 1991 by Jamie Zawinski and Jef Poskanzer.
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                           (printed 9/7/93)
  64.  
  65.  
  66.  
  67.